import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import request from "@/utils/index.js";
Vue.prototype.$http = request; //把请求对象挂载到原型中;

//配置axios,后续用来请求Api接口，相当于HTML中的ajax
import axios from "axios";//导入axios依赖包
Vue.prototype.$axios = axios;

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
